package org.jeecg.modules.htxincailiao.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.htxincailiao.order.entity.HTOrderReport;
import org.jeecg.modules.htxincailiao.order.mapper.HTOrderReportMapper;
import org.jeecg.modules.htxincailiao.order.service.IHTOrderReportService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: ht_order_library
 * @Author: jeecg-boot
 * @Date:   2021-11-30 16:34:16
 * @Version: V1.0
 */
@Service
public class HTOrderReportServiceImpl extends ServiceImpl<HTOrderReportMapper, HTOrderReport> implements IHTOrderReportService {

    @Override
    public List<HTOrderReport> findAllByShopId(String shopId) {
        return baseMapper.findAllByShopId(shopId);
    }

    @Override
    public List<HTOrderReport> findAllByOrderId(String orderId) {
        return baseMapper.findAllByOrderId(orderId);
    }

    @Override
    public HTOrderReport findBy(String userId, String reportId) {
        return baseMapper.findBy(userId, reportId);
    }

}
